import request from '@/utils/request'

//在离线
export function HKonline(query) {
  return request({
    url: '/nssc/video/HKonline/onlineStatus',
    method: 'post',
    params: query
  })
}

// 摄校时
export function HKtiming(query) {
  return request({
    url: '/nssc/video/HKTiming/synTime',
    method: 'post',
    params: query
  })
}

//摄像头水印
export function HKwatermark(query) {
  return request({
    url: '/nssc/video/HKwatermark/fixWater',
    method: 'post',
    params: query
  })
}

//摄像头开始录像
export function HKstartVideo(query) {
  return request({
    url: '/nssc/video/HKhandVideo/startVideo',
    method: 'post',
    params: query
  })
}

//摄像头停止录像
export function HKendVideo() {
  return request({
    url: '/nssc/video/HKhandVideo/stopVideo',
    method: 'post',
  })
}

//拍照
export function HKpicture(query) {
  return request({
    url: '/nssc/video/HKsnapPicture/synPicture',
    method: 'post',
    params: query
  })
}

/////////////////////点击事件//////////////////////////////////////////
//云台向上 开始
export function HKptzUp(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlUpStart',
    method: 'post',
    params: query
  })
}

//云台向上 停止
export function HKptzUpEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlUpEnd',
    method: 'post',
  })
}

//云台向下 开始
export function HKptzDown(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlDownStart',
    method: 'post',
    params: query
  })
}

//云台向下 停止
export function HKptzDownEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlDownEnd',
    method: 'post',
  })
}

//云台向左  开始
export function HKptzLeft(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftStart',
    method: 'post',
    params: query
  })
}

//云台向左  停止
export function HKptzLeftEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftEnd',
    method: 'post',
  })
}

//云台向右  开始
export function HKptzRight(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightStart',
    method: 'post',
    params: query
  })
}

//云台向右 停止
export function HKptzRightEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightEnd',
    method: 'post',
  })
}

//云台向左上  开始
export function HKptzLeftUp(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftUpStart',
    method: 'post',
    params: query
  })
}

//云台向左上  停止
export function HKptzLeftUpEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftUpEnd',
    method: 'post',
  })
}

//云台向右上 开始
export function HKptzRightUp(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightUpStart',
    method: 'post',
    params: query
  })
}

//云台向右上  停止
export function HKptzRightUpEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightUpEnd',
    method: 'post',
  })
}

//云台向左下  开始
export function HKptzLeftDown(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftDownStart',
    method: 'post',
    params: query
  })
}
//云台向左下  停止
export function HKptzLeftDownEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftDownEnd',
    method: 'post',
  })
}

//云台向右下 开始
export function HKptzRightDown(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightDownStart',
    method: 'post',
    params: query
  })
}

//云台向右下 停止
export function HKptzRightDownEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightDownEnd',
    method: 'post',
  })
}

//变倍+ 开始
export function HKzoomAdd(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomAddStart',
    method: 'post',
    params: query
  })
}
//变倍+ 结束
export function HKzoomAddEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomAddEnd',
    method: 'post',
  })
}
//变倍- 开始
export function HKzoomDec(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomDecStart',
    method: 'post',
    params: query
  })
}
//变倍-结束
export function HKzoomDecEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomDecEnd',
    method: 'post',
  })
}

//变焦+开始
export function HKfocusAdd(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusAddStart',
    method: 'post',
    params: query
  })
}
//变焦+结束
export function HKfocusAddEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusAddEnd',
    method: 'post',
  })
}

//变焦-开始
export function HKfocusDec(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusDecStart',
    method: 'post',
    params: query
  })
}
//变焦-结束
export function HKfocusDecEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusDecEnd',
    method: 'post',
  })
}

//光圈+开始
export function HKirisAdd(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisAddStart',
    method: 'post',
    params: query
  })
}
//光圈+结束
export function HKirisAddEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisAddEnd',
    method: 'post',
  })
}

//光圈-开始
export function HKirisDec(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisDecStart',
    method: 'post',
    params: query
  })
}
//光圈-结束
export function HKirisDecEnd() {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisDecEnd',
    method: 'post',
  })
}






////////////////////////长按事件////////////////////////////
//云台向上 开始
export function HKptzUp1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlUpStart1',
    method: 'post',
    params: query
  })
}

//云台向上 停止
export function HKptzUpEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlUpEnd1',
    method: 'post',
  })
}

//云台向下 开始
export function HKptzDown1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlDownStart1',
    method: 'post',
    params: query
  })
}

//云台向下 停止
export function HKptzDownEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlDownEnd1',
    method: 'post',
  })
}

//云台向左  开始
export function HKptzLeft1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftStart1',
    method: 'post',
    params: query
  })
}

//云台向左  停止
export function HKptzLeftEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftEnd1',
    method: 'post',
  })
}

//云台向右  开始
export function HKptzRight1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightStart1',
    method: 'post',
    params: query
  })
}

//云台向右 停止
export function HKptzRightEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightEnd1',
    method: 'post',
  })
}

//云台向左上  开始
export function HKptzLeftUp1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftUpStart1',
    method: 'post',
    params: query
  })
}

//云台向左上  停止
export function HKptzLeftUpEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftUpEnd1',
    method: 'post',
  })
}

//云台向右上 开始
export function HKptzRightUp1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightUpStart1',
    method: 'post',
    params: query
  })
}

//云台向右上  停止
export function HKptzRightUpEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightUpEnd1',
    method: 'post',
  })
}

//云台向左下  开始
export function HKptzLeftDown1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftDownStart1',
    method: 'post',
    params: query
  })
}
//云台向左下  停止
export function HKptzLeftDownEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlLeftDownEnd1',
    method: 'post',
  })
}

//云台向右下 开始
export function HKptzRightDown1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightDownStart1',
    method: 'post',
    params: query
  })
}

//云台向右下 停止
export function HKptzRightDownEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlRightDownEnd1',
    method: 'post',
  })
}

//变倍+ 开始
export function HKzoomAdd1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomAddStart1',
    method: 'post',
    params: query
  })
}
//变倍+ 结束
export function HKzoomAddEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomAddEnd1',
    method: 'post',
  })
}
//变倍- 开始
export function HKzoomDec1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomDecStart1',
    method: 'post',
    params: query
  })
}
//变倍-结束
export function HKzoomDecEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlZoomDecEnd1',
    method: 'post',
  })
}

//变焦+开始
export function HKfocusAdd1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusAddStart1',
    method: 'post',
    params: query
  })
}
//变焦+结束
export function HKfocusAddEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusAddEnd1',
    method: 'post',
  })
}

//变焦-开始
export function HKfocusDec1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusDecStart1',
    method: 'post',
    params: query
  })
}
//变焦-结束
export function HKfocusDecEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlFocusDecEnd1',
    method: 'post',
  })
}

//光圈+开始
export function HKirisAdd1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisAddStart1',
    method: 'post',
    params: query
  })
}
//光圈+结束
export function HKirisAddEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisAddEnd1',
    method: 'post',
  })
}

//光圈-开始
export function HKirisDec1(query) {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisDecStart1',
    method: 'post',
    params: query
  })
}
//光圈-结束
export function HKirisDecEnd1() {
  return request({
    url: '/nssc/video/HKptz/ptzControlIrisDecEnd1',
    method: 'post',
  })
}
